package com.pxst.bank.resp;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("暂停时间表-列表（条件查询）返回类")
@Data
public class SysBankServiceTimeResp {

    @ApiModelProperty(value = "可用银行id")
    private Long availableBankId;

    @ApiModelProperty(value = "可用银行编码")
    private String bankCode;

    @ApiModelProperty(value = "可用银行创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date availableBankCreateTime;

    @ApiModelProperty(value = "可用银行创建人")
    private String availableBankCreator;

    @ApiModelProperty("状态 0: 未启用 1: 启用")
    private Integer status;

    @ApiModelProperty(value = "2^0 [for Sunday] through 2^6 [for Saturday]")
    private Integer daysOfWeek;

    @ApiModelProperty(value = "???")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date endDateTime;

    @ApiModelProperty(value = "???")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date startDateTime;

    @ApiModelProperty(value = "??")
    private String endTime;

    @ApiModelProperty(value = "??")
    private String startTime;

    @ApiModelProperty(value = "消息")
    private String message;

    @ApiModelProperty(value = "频率 1: One Time 2: Every Day 3: Periodicity")
    private Integer frequency;

    @ApiModelProperty(value = "暂定时间表设定id")
    private Long id;

    @ApiModelProperty(value = "类型 1: Bank 2: Route (Bank) 3: Route (FI) 4: Route(QR FI)")
    private Integer type;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8")
    private Date updatedAt;

    @ApiModelProperty(value = "修改人")
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private String updater;
}
